package cn.monkey.transport.netty;

import cn.monkey.transport.core.SimpleDelegatesExchange;

import java.util.Collection;

public class SimpleNettyDelegatesExchange extends SimpleDelegatesExchange implements NettyExchange {

    public SimpleNettyDelegatesExchange(String id, Collection<NettyExchange> delegates) {
        super(id, delegates);
    }

    @Override
    public NettyInbound inbound() {
        return (NettyInbound) super.inbound();
    }

    @Override
    public NettyOutbound outbound() {
        return (NettyOutbound) super.inbound();
    }

    @Override
    public NettyExchange bind() {
        return (NettyExchange) super.bind();
    }
}
